package com.limao.Tool;

import java.util.TimerTask;

import com.limao.push.pushToAPPTemplate;

/**
 * 
 * 延时发送推送消息 (一次)
 *
 */
public class TaskOne extends TimerTask{

	private int userId;
	private float rmb;
	
	public TaskOne(int userId,float rmb){
		this.userId=userId;
		this.rmb=rmb;
	}
	
	@Override
	public void run() {
		pushToAPPTemplate.NewMess_OpenRedbagRmb(userId, rmb);
		this.cancel();
	}
	
}
